<div class="orderList " ng-app="orderList" ng-controller="orderListCtrl">
    <div class="query_area" style="margin-bottom: 10px">
        <h4>查询条件</h4>

        <form class="form form-inline">
            <!--<div class="form-group">-->
            <!--<label>上报ID</label>-->
            <!--<input type="text" class="form-control" ng-model="queryParams.id">-->
            <!--</div>-->
            <div class="form-group">
                <label>订单标题</label>
                <input type="text" class="form-control" ng-model="queryParams.subject">
            </div>
            <div class="form-group" style="float: right">
                <button class="btn btn-default" ng-click="queryOrderList()">查询</button>
            </div>
        </form>
    </div>
    <div class="query_result">
        <table class="table table-striped table-hover">
            <tr>
                <th>商户名称</th>
                <th>订单标题</th>
                <th>订单金额</th>
                <th>状态</th>
                <th>交易时间</th>
                <th>对账日期</th>
                <th>操作</th>
            </tr>
            <tbody>
            <tr ng-repeat="record in resultValue.list">
                <td><a ui-sref="home.content.merchant.merchantDetail({id:record.merchantCode})"> {{record.merchantName}}</a></td>
                <td>{{record.subject}}</td>
                <td>{{record.totalAmount/100.00|currency: "￥"}}</td>
                <td>{{transference.getText("orderStatus",record.status)}}</td>
                <td>{{record.createTime}}</td>
                <td>{{record.settleDate}}</td>
                <td><a ui-sref="home.content.order.orderDetail({id:record.orderId})">详情</a></td>
            </tr>
            </tbody>
        </table>
        <a ui-sref="home.content.order.orderDetail()">新增</a>
        <pagination total-items="resultValue.totalSize" ng-model="searchObject.pageNum" max-size="10"
                    items-per-page="searchObject.pageSize" class="pagination-sm pull-right"
                    boundary-links="true" rotate="false"  ng-change="queryOrderList()"
                    previous-text="<" next-text=">" first-text="<<" last-text=">>" style="margin:10px 0;"></pagination>
    </div>
    <div class="clearfix"></div>
</div>